package com.stark.wechat.service.user.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.stark.wechat.core.Lang;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 用户查询条件
 *
 * @author <a href="mailto:mengbin@hotmail.com">Ben</a>
 * @version 1.0.0
 * @since 2024/5/27
 */
@Data
@NoArgsConstructor
@RequiredArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserSearchParams implements Serializable {

    private static final long serialVersionUID = -618838666883117027L;

    /**
     * 用户的标识，对当前公众号唯一
     */
    @NonNull
    private String openid;

    /**
     * 国家地区语言版本，默认为zh_CN 简体
     */
    private Lang lang;

}
